<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>first-letter伪元素选择器示例</title>
    <style type="text/css">
        p::first-letter {
            color: #FF0000;
            font-size: xx-large;
        }
    </style>
</head>
<body>
    <p>你可以使用::first-letter元素为文本的第一个字符添加特殊效果</p>
</body>
</html>